<template>
  <div>
    <div>
      <span>年龄:</span>
      <input type="text" v-model.number="age">
    </div>
    <div>
      <span>人生格言：</span>
      <input type="text" name="" id="" v-model.trim="str">
    </div>
    <div>
      <span>介绍：</span>
      <hr>
      <textarea name="" id="" cols="30" rows="10" v-model.lazy="tro"></textarea>
    </div>
  </div>
</template>
  
<script>
export default {
  data (){
    return{
      age : 54,
      str: '',
      tro:''
    }
  } 
    }
</script>

<style>

</style>
